package mm.chenchen.modules.host.service;

import mm.chenchen.modules.host.entity.model.SshCommandModel;
import mm.chenchen.utils.R;
import mm.chenchen.modules.host.entity.HostInfo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import mm.chenchen.modules.host.dao.model.request.HostInfoQuery;
import org.springframework.web.bind.annotation.RequestBody;


import java.util.Map;

/**
 * 
 *
 * @author 
 * @email 
 * @date 2021-08-12 11:16:56
 */
public interface HostInfoService   extends IService<HostInfo>{
 R findPage(Page<Map> page, HostInfoQuery param);
 R getById(Long objId);
 R saveInfo(HostInfo param);
 R update(HostInfo param);
 R deleteById(Long id);
 R environmentDetail( Long id)throws Exception;
 R sshCommand( SshCommandModel param);
}

